package FanShe.service;

import FanShe.dao.StudentDao;
import FanShe.dao.StudentDaoList;
import FanShe.factory.BeanFactory;

public class StudentServiceImpl implements StudentService{
   StudentDao studentDao= (StudentDao) BeanFactory.getBean("StudentDao");

    public void add(){
        studentDao.add();
    }

    public void delete(){
        studentDao.delete();
    }

    public void update(){
        studentDao.update();
    }

    public void find(){
        studentDao.find();
    }
}
